package com.gitee.feizns.itrip.personal.biz.entity.ao;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author feizns
 * @since 2019/1/11 0011
 */
@Data
public class ForAcceptPreOrderInfo {

    /**
     * 退房时间
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptPreOrderInfo.checkInDate}")
    private Date checkOutDate;

    /**
     * 入住时间
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptPreOrderInfo.checkOutDate}")
    private Date checkInDate;

    /**
     * 需要的房间数量
     */
    @NotNull(message = "{com.gitee.feizns.itrip.personal.biz.entity.ao.ForAcceptPreOrderInfo.count}")
    private Integer count;

    /**
     * 酒店编号
     */
    private Integer hotelId;

    /**
     * 房间编号
     */
    private Long roomId;

}
